﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using nPress.Core.Interfaces;

namespace nPress.Core.Entities
{
    public class Term : IIdentifiable
    {
        public Term()
        {
            // set default values
            Name = string.Empty;
            Slug = string.Empty;
            TermGroup = 0;
        }

        public virtual int Id { get; private set; } //bigint(20) unsigned NOT NULL auto_increment,
        public virtual string Name { get; set; }    //varchar(200) NOT NULL default '',
        public virtual string Slug { get; set; }    // varchar(200) //NOT NULL default '', unique
        public virtual int TermGroup { get; set; }  // bigint(10) //NOT NULL default 0,
    }
}
